package com.example.yan.java方法;

public class MehtodDemo03 {

    public static void main(String[] args) {

        System.out.println(Namess("闫文超"));
        System.out.println(Namess("闫文超","16"));
        System.out.println(Namess("闫文超","18","未来可以更好"));
    }


    public static String Namess(String name){
        return name;
    }

    public static String Namess(String name,String age){
        return name+age;
    }

    public static String Namess(String name,String age,String love){
        return name+"年龄"+age+"喜欢"+love;
    }


}
